package article.entities;

import java.io.Serializable;



public class ArticleVO implements Serializable{

	private static final long serialVersionUID = 1L;
	private String name, desc;
	private int primaryKey;
	private double price;
	private IngredientVO[] ingr;
	private CategoryVO cat;
	
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDesc() {
		return desc;
	}
	
	public void setCat(CategoryVO cat) {
		this.cat=cat;
	}
	public double getPrice() {
		return price;
	}
	
	public void setIngr(IngredientVO[] ingr) {
		this.ingr = ingr;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public IngredientVO[] getIngr() {
		return ingr;
	}
	
	public CategoryVO getCat() {
		return cat;
	}
	public int getPrimaryKey() {
		return primaryKey;
	}

	public ArticleVO(String name, String desc, int primaryKey, double price,
			IngredientVO[] ingr, CategoryVO cat) {
		this.name = name;
		this.desc = desc;
		this.primaryKey = primaryKey;
		this.price = price;
		this.ingr = ingr;
		this.cat=cat;
	}
	public ArticleVO(String name, String desc, double price, IngredientVO[] ingr, CategoryVO cat) {
		super();
		this.name = name;
		this.desc = desc;
		this.price = price;
		this.ingr = ingr;
		this.cat=cat;
	}
	

	
	
	
	
}
